package com.xuexi.mr.fof;

import org.apache.hadoop.io.Text;

public class FoF extends Text{

	
	public FoF(){
		
	}
	
	public FoF(String a,String b){
		super(tofof(a, b));
	}
	
	public static String tofof(String a,String b){
		int result =a.compareTo(b);
		if(result<0){
			return a+"\t"+b;
		}
		return b+"\t"+a;
	}
}
